package com.bonc.aoyuanbo.demo.controller;

import com.bonc.aoyuanbo.demo.entity.SysUserTmp;
import com.bonc.aoyuanbo.demo.mapper.SysUserTmpMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author DELL
 * @Date 2022/1/17
 */

@RestController
@RequestMapping("user")
public class SysUserController {


    @Autowired
    private SysUserTmpMapper sysUserTmpMapper;

    @GetMapping("test")
    public void test(){
    SysUserTmp sysUserTmp = sysUserTmpMapper.queryById(2000);
        System.out.println(sysUserTmp);
    }
}
